08. Demo: Plotly

Part 1 - Creating a Line Plot of Closing Prices

PRDTM2-785 AI Trading C2 L4 Demo 2 Pt 1

Note: The more recent version of yfinance automatically uses Adjusted Close price for the Price field, but if you want to see the same output as the one shown on the video, you may add this argument auto_adjust=False when calling the yf.download() function:

data = yf.download(ticker, start=start_date, end=end_date, auto_adjust=False)

Part 2 - Box and Whisker Plots

PRDTM2-785 AI Trading C2 L4 Demo 2 Pt 2

Part 3 - Animating Line Plots

PRDTM2-785 AI Trading C2 L4 Demo 2 Pt 3